/*  
*  Light.h
*
*  Created by Jesse Schmieg on 02/02/2014.
*  Copyright 2014. All rights reserved.
*
* This file is part of the CS5721 Computer Graphics library (graphicsLibrary).
*
* graphicsLibrary is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* graphicsLibrary is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with graphicsLibrary.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef __LIGHT_H__
#define __LIGHT_H__ 1

#include <string>

#include "Vector3D.h"

namespace sivelab {

	class Light {
	private:

		// The type of the light, e.g. "point"
		std::string type;

		// The 3-dimensional coordinate of the light source
		Vector3D position;

		// The intensity of the light, represented as a red, green, and blue emmisive color vector
		Vector3D intensity;

	public:

		Light(const std::string& _type, const Vector3D& _position, const Vector3D& _intensity) 
			: type(_type), position(_position), intensity(_intensity) { }

		std::string getType() {
			return type;
		}

		Vector3D getPosition() {
			return position;
		}

		Vector3D getIntensity() {
			return intensity;
		}

	};

}

#endif